package com.pengshun.modules.api.user.service.impl;

import com.pengshun.modules.api.mapper.PsUserInfoMapper;
import com.pengshun.modules.api.user.service.ContractService;
import com.pengshun.modules.common.BaseResult;
import com.pengshun.modules.domain.PsContractHint;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * @author luoligang
 * @create 2021/4/13
 */
@Service
@RequiredArgsConstructor
public class ContractServiceImpl  implements ContractService {

    private  final PsUserInfoMapper userInfoMapper;

    @Override
    public BaseResult getHint() {
        PsContractHint hint=userInfoMapper.getHint();
        return new BaseResult(0,hint);
    }
}
